<?php

//рус
include_once (_CORE_PATH . "controller/controller_error_prototype.php");
class errors_admin_http_ajax extends controller_error_prototype_class
{
    public function NotLoggedPrAction ()
    {
        $obj = SysLoader::GetModResponse();
        $obj->SetStatus(false);
        $obj->SetMessage('Закончилась сессия');
        $this->Response()->SetBody($obj);
    }
    public function NotLoggedScAction ()
    {
    }    
    public function NotAccessPrAction ()
    {
        $obj = SysLoader::GetModResponse();
        $obj->SetStatus(false);
        $obj->SetMessage('Нет доступа');
        $this->Response()->SetBody($obj);
    }
    public function NotAccessScAction ()
    {
    }    
    public function NotFoundPrAction ()
    {
        $this->Response()->setHttpResponseCode (404);
        $obj = SysLoader::GetModResponse();
        $obj->SetStatus(false);
        $obj->SetMessage('Раздел не найден');
        $this->Response()->SetBody($obj);        
    }    
}